Tootsville::Item-Info

Function

Item-Info names a function, with lambda list (ITEM):

Describes ITEM in a JSON structure.

This structure has the following keys:

uuid
The universally-unique ID of this particular item
baseColor
The base color of this item (if any). This is a primary color texture that may be applied to the model. See TOOTSVILLE PARSE-COLOR24 for the syntax.
altColor
The alternate color of this item (if any). This is a secondary color texture that may be applied to the model. See TOOTSVILLE PARSE-COLOR24 for the syntax.
template
The Item Template of which this individual item is an instance. This is a table in the form described at TOOTSVILLE ITEM-TEMPLATE-INFO.

energy
For items with an energyKind of COUNTABLE or UNCOUNTABLE, this indicates the number of (COUNTABLE) discrete energy units remaining or (UNCOUNTABLE) the portion of energyMax remaining (which should be surfaced to the user as a percentage or the like).
scape
The item's scaling factors in each of the x, y, and z dimensions, as compared to the size of the raw asset in the avatar model file.
position
The item's relative position in x, y, and z coördinates
facing
The angle in which the item is facing in radians. Clients should also support, for compatibility, the eight cardinal directions given as the strings N, NE, E, SE, S, SW, W, or NW.
world
The world in which the item is located
location
The location of the item within the world in lat-itude, long-itude, and alt-itude.

File

Defined in file src/items.lisp.